    {include file="../view/head" /}
    <style>
    /*页面自定义样式*/
    </style>
    </head>
    <body>
        {include file="../view/header" /}
        {include file="../view/sidebar" /}
        {include file="../view/right-sidebar" /}
        <!-- Start #content -->
        <div id="content">
            <!-- Start .content-wrapper -->
            <div class="content-wrapper">
                <div class="row">
                    <!-- Start .row -->
                    <!-- Start .page-header -->
                    <div class="col-lg-12 heading hidden-xs hidden-sm">
                        <!-- Start .bredcrumb -->
                        <ul id="crumb" class="breadcrumb"></ul>
                        <!-- End .breadcrumb -->
                    </div>
                    <!-- End .page-header -->
                </div>
                <!-- End .row -->
                <div class="outlet">
                    <!-- Start .outlet -->
                    <!-- Page start here ( usual with .row ) -->
                    <div class="row">
                        <div class="col-md-12">
                            <!-- col-lg-12 start here -->
                            <div class="panel panel-default toggle panelRefresh">
                                <!-- Start .panel -->
                                <div class="panel-heading">
                                    <h4 class="panel-title">E计划 每轮信息</h4>
                                </div>
                                <div class="panel-body">
                                    <table class="table table-bordered table-hover table-striped">
                                        <thead>
                                            <tr>
                                                <th class="per5">
                                                    <label class="checkbox">
                                                        <input class="check-all" type="checkbox">
                                                    </label>
                                                </th>
                                                <th>轮次</th>
                                                <th>启动时间</th>
                                                <th>状态</th>
                                                <th>结束时间</th>
                                                <th>资金池</th>
                                                <th>正常出局</th>
                                                <th>亏损出局</th>
                                                <th>动态</th>
                                                <th>烧伤</th>
                                                <th>E基金</th>
                                                <th>重启阈值</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        {foreach $lists as $list} 
                                            <tr>
                                                <td>
                                                    <label class="checkbox">
                                                        <input class="check" type="checkbox" value="{$list.lun}">
                                                    </label>
                                                </td>
                                                <td>{$list.lun}</td>
                                                <td>{$list.stime|date='Y-m-d H:i:s',###}</td>
                                                <td>
                                                    {if condition='$list.zt eq "1"'}<span class="text-success">进行中</span>
                                                    {elseif condition='$list.zt eq "2"' /}<span class="text-info">清算中</span>
                                                    {elseif condition='$list.zt eq "3"' /}<span class="text-danger">已结束</span>
                                                    {/if}
                                                </td>
                                                <td>{if condition='$list.etime neq "0"'}{$list.etime|date='Y-m-d H:i:s',###}{/if}</td>
                                                <td>{$list.sum_dan}单<br>{$list.sum_gusd}GUSD</td>
                                                <td>{$list.sum_chuju_dan}单<br>{$list.sum_chuju_gusd}GUSD</td>
                                                <td>
                                                    <?php echo($list['sum_dan']-$list['sum_chuju_dan']);?>单<br>
                                                    GUSD<br>
                                                    亏损比{$list.e_kuisun}%
                                                </td>
                                                <td>{$list.sum_dong}</td>
                                                <td>{$list.sum_shao}</td>
                                                <td>{$list.sum_jijin}</td>
                                                <td>{$list.e_end}%</td>
                                                <td>
                                                    {if condition='$list.zt eq "1"'}
                                                        <a href="" class="mt5 btn btn-xs btn-info">清算重启</a>
                                                    {/if}
                                                </td>
                                            </tr>
                                        {/foreach}
                                        </tbody>
                                        <tfoot>
                                            <tr>
                                                <th class="per5">
                                                    <label class="checkbox">
                                                        <input class="check-all" type="checkbox">
                                                    </label>
                                                </th>
                                                <th>轮次</th>
                                                <th>启动时间</th>
                                                <th>状态</th>
                                                <th>结束时间</th>
                                                <th>资金池</th>
                                                <th>正常出局</th>
                                                <th>亏损出局</th>
                                                <th>动态</th>
                                                <th>烧伤</th>
                                                <th>E基金</th>
                                                <th>重启阈值</th>
                                                <th>操作</th>
                                            </tr>
                                        </tfoot>
                                    </table>
                                    <div class="row">
                                        <div class="col-md-6">
                                            {$lists->render()}
                                        </div>
                                        <div class="col-md-6">
                                            <p>总数：{$lists->total()}</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- Page End here -->
                </div>
                <!-- End .outlet -->
            </div>
            <!-- End .content-wrapper -->
            <div class="clearfix"></div>
        </div>
        <!-- End #content -->
        {include file="../view/foot" /}
        <script src="/public/theme/win10/assets/plugins/forms/checkall/jquery.checkAll.js"></script>
        <script>
            $('.table').checkAll({
                masterCheckbox: '.check-all',
                otherCheckboxes: '.check'
            });
        </script>
    </body>
</html>